package com.ficus.road.maintain.core.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author xiawen yang
 * @date 2021/8/13 下午3:21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WaterLevelAndTime {

    private Integer waterLevel;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
}
